package cn.dnui_jpf902.dnuifood_16110100902.service;

/**
 * Created by 姜鹏飞 on 2018/10/15.
 */

import cn.dnui_jpf902.dnuifood_16110100902.bean.ResultBean;
import cn.dnui_jpf902.dnuifood_16110100902.bean.UserBean;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface UserService {
    @GET("userLogin.do")
    Call<UserBean> doLogin(
            @Query("username") String username,
            @Query("userpass") String userpass
 @GET("userRegister.do")
    Call<ResultBean>doRegist(
            @Query("username") String username,
            @Query("userpass") String password,
            @Query("mobilenum") String mobilenum,
            @Query("address") String address,
            @Query("comment") String comment
    );



}